package com.wen.servicebase.exception;

/**
 * @Author：Win
 * @Date: 2021/5/26 17:39
 * @Description: 自定义业务异常
 */

public class BusinessException extends RuntimeException {
    private static final long serialVersionUID = 2059834241810807639L;

    public BusinessException(String message) {
        super(message);
    }

    //    @ApiModelProperty(value = "状态码")
//    private Integer code;
//    @ApiModelProperty(value = "异常消息")
//    private String msg;
//
//    @Override
//    public String toString() {
//        return "BusinessException{" +
//                "message=" + this.getMessage() +
//                ", code=" + code +
//                '}';
//    }
}
